//
//  ViewController.swift
//  Factory
//
//  Created by Mr.H on 2017/5/22.
//  Copyright © 2017年 han. All rights reserved.
//

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        let icomputer = AppleComputerFactory().getComputer()
        
        icomputer.printInfor()
        
        let factory = BaiDuMapFactory().getView()
        
        factory.getView()
        
        let gaodeFactory = GaodeMaoFactory().getView()
        
        gaodeFactory.getView()
        
        
        APPle().getCPU().creatCPU()
        
        APPle().getXianKa().creatXianKa()
        
        
        let xxx = Contentx().xieyi(xy: ALiPay())
        
        print(xxx)
        
        
        let adda = Adaper().getCNY()
        
        print(adda)
        
        
        let obj = Object().getCNY()
        
        print(obj)
        
        
        let prox = ProxyShoping()
        
        prox.shopingIphone()
        
    }
    
    
    


}

